<!-- Dom模板 -->
<template>
  <div id="box">
    <div class="header">
      <!-- iconfont -->
      <div class="top">
        <div>
          <i class="iconfont icon-lt"></i>
        </div>
        <p>
          <i class="iconfont icon-sandian"></i>
          <span></span>
          <i class="iconfont icon-xiaochengxu-guanbi1"></i>
        </p>
      </div>
    </div>
    <div class="main animate__animated animate__bounceInRight">
      <!-- 宝贝最爱标题 -->
      <div class="title">
        <h3>宝贝最爱</h3>
        <h4>增强自信心.决战前夕的动员大会</h4>
        <img src="../../../../../static/img/图片 5@1x (2).png" />
        <p>
          <i class="iconfont icon-erji1"></i>
          <span>13991次</span>
        </p>
        <a>38集</a>
      </div>
      <!-- 内容 -->
      <div class="content">
        <!-- 胡杨 -->
        <div class="top">
          <img src="../../../../../static/img/图片 2@1x (3).png" />
          <span>胡杨</span>
        </div>
        <!-- 美可玩内容 -->
        <div class="center">
          <h4>美可玩故事</h4>
          <h5>每天听15分钟故事</h5>
          <h5>轻松成就孩子好品格、好习惯!</h5>
        </div>
        <!-- 二维码 -->
        <div class="bottom">
          <div>
            <p><i class="iconfont icon-weixin"></i></p>
            <span>分享给好友</span>
          </div>
          <div>
            <p><i class="iconfont icon-xiazai"></i></p>
            <span>保存到相册</span>
          </div>
          <img src="../../../../../static/img/图片 2@1x (4).png" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import a from './a'; // 引入组件
export default {
  data() {
    return {
      msg: "测试",
    };
  }, // 生命周期 - 创建完成（访问当前this实例）
  created() {}, // 生命周期 - 挂载完成（访问DOM元素）
  mounted() {}, // Vue方法定义
  methods: {},
};
</script>

<style scoped>
/* @import url(); 引入css类 */
@import url("../../../../assets/font/iconfont.css");
#box {
  width: 100vw;
  height: 100vh;
  background: #00b397;
  position: relative;
}
/* 头部 */
.header {
  width: 100vw;
  height: calc(196px * 0.82);
  padding-top: 55px;
}
/* iconfont */
.header .top {
  width: 100vw;
  height: 4px;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  align-items: center;
  vertical-align: middle;
}
.header .top .icon-lt {
  font-size: 24px;
  color: white;
  font-weight: bold;
}
.header .top p {
  width: 87px;
  height: 32px;
  line-height: 20px;
  border-radius: 30px;
  background-color: #00b296;
  text-align: center;
  border: 1px solid rgba(255, 254, 254, 100);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.header .top p span {
  border-right: 2px solid #e8e8e8;
  display: block;
  width: 1px;
  height: 18px;
}
.header .top p .icon-sandian {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.header .top p .icon-xiaochengxu-guanbi1 {
  color: white;
  font-size: 15px;
  font-weight: bold;
  vertical-align: middle;
}
/* 弹框内容 */
.main {
  width: 348px;
  height: 506px;
  background: white;
  position: absolute;
  left: 29px;
  top: 122px;
  border-radius: 26px;
  box-shadow: 0px 2px 6px 0px rgba(1, 164, 138, 100);
  overflow: hidden;
}
/* 宝贝最爱 */
.main .title {
  width: 348px;
  height: 182px;
  background: #09d0b2;
  border-radius: 26px;
  position: relative;
  padding: 18px 28px;
  color: white;
  position: relative;
}
.main .title h3 {
  font-size: 20px;
}
.main .title h4 {
  font-size: 16px;
  margin-top: 15px;
  position: absolute;
  z-index: 2;
}
.main .title img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 144px;
  width: 125px;
}
.main .title p {
  position: absolute;
  bottom: 10px;
  font-weight: bold;
  font-size: 14px;
  vertical-align: middle;
}
.main .title p i {
  font-size: 24px;
  vertical-align: middle;
}
.main .title p span {
  vertical-align: middle;
}
.main .title a {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 76px;
  height: 30px;
  line-height: 30px;
  border-radius: 26px 0px 26px 0px;
  background-color: rgba(255, 0, 86, 100);
  color: white;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
}
/* 底部内容 */
.main .content{
  padding:0 24px;
  position: relative;
  width:100%;
  height: calc(100% - 182px);
}
/* 胡杨 */
.main .content .top{
  margin-top:13px;
  overflow: hidden;
  vertical-align: middle;
}
.main .content .top img{
  width:50px;
  vertical-align: middle;
}
.main .content .top span{
  margin-left: 15px;
  vertical-align: middle;
  font-size: 12px;
}
/* 美可玩故事 */
.main .content .center{
  color: #09CFB1;
}
.main .content .center h4{
  font-size: 20px;
  margin: 20px 0;
}
.main .content .center h5{
  font-size: 14px;
  margin-bottom: 8px;
}
/* 二维码 */
.main .content .bottom{
  position: absolute;
  bottom:30px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width:100%;
  padding-right: 40px;
}
.main .content .bottom div{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.main .content .bottom p{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.main .content .bottom div:nth-of-type(1) p{
  border:solid 1px #23BB3D;
}
.main .content .bottom div:nth-of-type(2) p{
  border:solid 1px #F7D07C;
}
.main .content .bottom .iconfont{
  font-size: 24px;
  line-height: 50px;
}
.main .content .bottom .icon-weixin{
    color: #23BB3D;
} 
.main .content .bottom .icon-xiazai{
    color: #F7D07C;
}
.main .content .bottom div span{
  font-size: 12px;;
}
</style>